package org.java.shopping.conf;


import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author WHQ
 * @version 1.0
 * @date 2022-3-12 0012 下午 1:54
 * 加载yml文件中的白名单
 */
@ConfigurationProperties(prefix = "shopping.filter")
public class AllowPathsProperties {

    private List<String> allowPaths;

    public List<String> getAllowPaths() {
        return allowPaths;
    }

    public void setAllowPaths(List<String> allowPaths) {
        this.allowPaths = allowPaths;
    }
}
